package it.polimi.registration.business.security.boundary;

import it.polimi.registration.business.security.entity.Calendar;
import it.polimi.registration.business.security.entity.User;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public class CalendarManager {
	@PersistenceContext
	EntityManager em;

	public void save(Calendar c) {
		em.persist(c);
	}
	
	public void merge(Calendar c) {
		em.merge(c);
	}
}
